package com.tianhui.consignortwofei.mvp.ui.activity;


import com.fgs.common.CommonFragment;
import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;
import com.fgs.common.webViewInter.OpenWeb;
import com.tianhui.consignortwofei.R;
import com.tianhui.consignortwofei.base.BaseActivity;
import com.fgs.common.webViewInter.PrivacyPolicyWebInfo;
import com.fgs.common.webViewInter.UserAgreementWebInfo;

import butterknife.OnClick;

/**
 * @author fgs
 * @date 2020/4/29
 * @description
 **/
public class LegalNoticeActivity extends BaseActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_legal_notice;
    }

    @Override
    public CommonPresenter createPresenter() {
        return null;
    }

    @Override
    public CommonView createView() {
        return null;
    }

    @Override
    public void init() {
        setTitle("法律公告");

    }

    @Override
    public CommonFragment createFragment() {
        return null;
    }

    @OnClick(R.id.activity_legal_notice_userAgreementSettingItemView)
    public void userAgreement() {
        OpenWeb openWeb = new OpenWeb();
        openWeb.openWebView(this, new UserAgreementWebInfo());
    }


    @OnClick(R.id.activity_legal_notice_privacyPolicySettingItemView)
    public void privacyPolicy() {
        OpenWeb openWeb = new OpenWeb();
        openWeb.openWebView(this, new PrivacyPolicyWebInfo());
    }
}
